package com.oc.mba.dao;

import java.sql.Timestamp;
import java.util.List;

import com.oc.mba.entity.DeviceMessageEntity;

public interface DeviceMessageDAO {

	void save(DeviceMessageEntity deviceMessageEntity);

	void delete(Integer messageID);

	DeviceMessageEntity findMessage(Integer messageID);
	
	List<DeviceMessageEntity> findDeviceMessage(Integer deviceID, short msgType, Timestamp tNow, Timestamp tNext);

	List<DeviceMessageEntity> findAllDeviceMessage(Integer deviceID);
}